package com.powernode.mapper;

import com.powernode.domain.Bin;
import com.powernode.domain.VisitLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VisitLogMapper {
    /**
     * insert record to table
     *
     * @param record the record
     * @return insert count
     */
    int insert(VisitLog record);

    /**
     * insert record to table selective
     *
     * @param record the record
     * @return insert count
     */
    int insertSelective(VisitLog record);

    List<VisitLog> queryAllVisitLog(@Param("customerId") String customerId);

    List<Bin> queryBin();
}